//
//  XunjianCell.swift
//  Xiaozihui
//
//  Created by 校企荟 on 2017/10/10.
//  Copyright © 2017年 校企荟. All rights reserved.
//

import UIKit

class XunjianCell: BaseTableViewCell {
    
    lazy var xunjianLbl: UILabel = {
        let lbl = UILabel(content: "巡检", textFont: UIFont.boldSystemFont(ofSize: 18 * ScaleX), color: UIColor.white, alignment: .center, numberOfLine: 1)
        return lbl
    }()
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
   
    override func setupUI() {
        backgroundColor = mainColor
        contentView.addSubview(xunjianLbl)
        xunjianLbl.snp.makeConstraints { (make) in
            make.left.top.equalTo(contentView).offset(10)
            make.right.bottom.equalTo(contentView).offset(-10)
            make.height.equalTo(50 * ScaleX)
        }
    }

}
